let mysql = require("./out/mysql");

(async ()=>{
    
    let app = await mysql.start();
    // console.log(await mysql.table("user").get())
    // let app = await mysql.start();
    
    console.log(await app.table("user").get(["id","name"]))
    await new Promise(ress=>{
        setInterval(async ()=>{
            ress();
        },5000)
    });
    console.log(await app.table("user").get(["id","name"]))

    // console.log(await app.table("user").where("id",[1,2,5,10]).update({
    //     name:"mmm"
    // }))
    // console.log("????")
    // console.log(await app.select("selete * from user"))
    // console.log(await mysql.table('user').get("id"));
})();

